import { redux } from '@ohif/core';

const { changeViewMode } = redux.actions;

/**
 * Update the current layout with a simple Cornerstone one
 *
 * @return void
 */
const setCornerstoneLayout = () => {
  window.store.dispatch(changeViewMode('normal'));
}

export default setCornerstoneLayout;
